<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>
			<?php
			if (isset($title) && $title != '')
				echo $title;
			else
				echo 'Beasiswa';
			?>
        </title>

        <link href="<?php echo base_url() ?>image/favicon.jpg" rel="shortcut icon"/>
		<link href="<?php echo base_url() ?>style/header.css" rel="stylesheet" type="text/css" />
		<link href="<?php echo base_url() ?>css/jqtransform.css" rel="stylesheet" type="text/css" />
		<link href="<?php echo base_url() ?>style/footer.css" rel="stylesheet" type="text/css" />
		<link href="<?php echo base_url() ?>style/mainPage.css" rel="stylesheet" type="text/css" />
		<link href="<?php echo base_url() ?>style/miniGallery.css" rel="stylesheet" type="text/css" />
		<link href="<?php echo base_url() ?>style/ticker-style.css" rel="stylesheet" type="text/css" />
		<link href="<?php echo base_url() ?>style/font/stylesheet.css" rel="stylesheet" type="text/css" />
        <script type="text/javascript" src="<?php echo base_url() ?>javascript/jquery-1.6.1.min.js"></script>
		<?php
		if (isset($script) && $script != '')
			echo $script;
		?>
        <script type="text/javascript" src="<?php echo base_url() ?>javascript/jquery.easing.1.3.js"></script>
        <script type="text/javascript" src="<?php echo base_url() ?>javascript/jquery.cycle.min.js"></script>
        <script type="text/javascript" src="<?php echo base_url() ?>javascript/menu.js"></script>
        <script type="text/javascript" src="<?php echo base_url() ?>javascript/jquery.jcarousel.min.js"></script>
        <script type="text/javascript" src="<?php echo base_url() ?>javascript/hoverIntent.js"></script>
        <script type="text/javascript" src="<?php echo base_url() ?>javascript/jquery.ticker.js"></script>
        <script type="text/javascript" src="<?php echo base_url() ?>javascript/jqclock_201.js"></script>
        <script type="text/javascript" src="<?php echo base_url() ?>javascript/liveSearch.js"></script>
        <script type="text/javascript" src="<?php echo base_url() ?>javascript/jquery.dataTables.min.js"></script>
		<script type="text/javascript" src="<?php echo base_url() ?>javascript/login.js"></script>
		<script type="text/javascript" src="<?php echo base_url() ?>javascript/headBg.js"></script>
		<script type="text/javascript" src="<?php echo base_url() ?>javascript/scretcher.js"></script>
		<link type="text/css" rel="stylesheet" href="<?php echo base_url() ?>js/jquery.cleditor.css"/> 
        <script type="text/javascript" src="<?php echo base_url() ?>js/jquery.cleditor.min.js"></script>
        <script>
            $(document).ready(function(){
                $(".cleditor").cleditor();
            });
        </script>
        <script>
            function loadajax(data){
                //alert('fgg');
                $('#table').load(data);
            }
            
            function confirm_message(pesan){
                return confirm(pesan);
            }
		</script>
    </head>
    <body>

        <div class="header">
			<div class="topbar">
				<?php if ($this->session->userdata('adminin') == TRUE && ($this->session->userdata('role') == 'admin' || $this->session->userdata('role') == 'superadmin')) { ?>
					<div class="loginBar">
						<div class="message_login">
							Selamat datang, <?php echo $this->session->userdata('username') ?> 
							[<a href='<?php echo base_url() ?>admin/home/logout'>Logout</a>]
						</div>
					</div>
					<div class="menu"> 
						<div id="highligt"><img src="<?php echo base_url() ?>image/miniGalerry/highlights.png" width="215" height="33" /></div> 
						<ul class="mainMenu">
							<li class="mainNav">
								<a href="#">User</a>
								<ul class="subMenu">
									<a href="<?php echo base_url() ?>admin/ctrl_user"><li>Daftar User</li></a>
									<a href="<?php echo base_url() ?>admin/ctrl_user/add_user"><li>Tambah User</li></a>
								</ul>
							</li>
							<li class="mainNav">
								<a href="#">Berita</a>
								<ul class="subMenu">
									<a href="<?php echo base_url() ?>admin/ctrl_berita"><li>Daftar Berita</li></a>
									<a href="<?php echo base_url() ?>admin/ctrl_berita/buat_berita"><li>Buat Berita</li></a>
								</ul>
							</li>
							<li class="mainNav">
								<a href="#">Donatur</a>
								<ul class="subMenu">
									<a href="<?php echo base_url() ?>admin/ctrl_donatur/tambah_donatur"><li>Tambah Donatur</li></a>
									<a href="<?php echo base_url() ?>admin/ctrl_donatur"><li>List Donatur</li></a>
									<a href="<?php echo base_url() ?>admin/ctrl_donatur/list_histori_tambahan_donasi"><li>Histori Tambah Donasi</li></a>
								</ul>
							</li>
							<li class="mainNav">
								<a href="#">Mahasiswa</a>
								<ul class="subMenu">
									<a href="<?php echo base_url() ?>admin/ctrl_mahasiswa/form_input"><li>Tambah Mahasiswa</li></a>
									<a href="<?php echo base_url() ?>admin/ctrl_mahasiswa/uploadcsv"><li>Upload Mahasiswa</li></a>
									<a href="<?php echo base_url() ?>admin/ctrl_mahasiswa/uploadspp"><li>Upload Data SPP</li></a>
									<a href="<?php echo base_url() ?>admin/ctrl_mahasiswa/cari"><li>Cari Mahasiswa</li></a>
								</ul>
							</li>
							<li class="mainNav">
								<a href="#">Semester Baru</a>
								<ul class="subMenu">
									<a href="<?php echo base_url() ?>admin/ctrl_mahasiswa/updatesemester"><li>Update Semester</li></a>
								</ul>
							</li>
						</ul>
					</div>
				<?php } ?>    
			</div>
			<div class="bgHead">
				<img src="<?php echo base_url() ?>image/h1.jpg" />
				<img src="<?php echo base_url() ?>image/h2.jpg" />
				<img src="<?php echo base_url() ?>image/h3.jpg" />
			</div>
			<div class="headContent">
				<div class="logoPlace">
					<img src="<?php echo base_url() ?>image/logo.png" width="150" height="147" />
					<div class="textLogo">
						<h1>ITB</h1>
						<h2>SCHOLARSHIP</h2>
						<h2>CENTRE</h2>
						<h3>scholarship.itb.ac.id</h3>
					</div>
				</div>
			</div>
		</div>
		<br/>